package com.lx.chong.service.impl;


import com.lx.chong.model.ProConfig;
import com.lx.chong.repository.ProConfigRepository;
import com.lx.chong.service.ProConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: chong
 * @date: 2018/7/4
 */
@Service
public class ProConfigServiceImpl extends BaseServiceImpl implements ProConfigService {


    @Autowired
    private ProConfigRepository proConfigRepository;


    /**
     * 根据主键id获取对象
     *
     * @param id
     * @return
     */
    @Override
    public ProConfig findOne(Long id) {
        return proConfigRepository.findOne(id);
    }

}
